home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 18
/
CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso
/
CUCD
/
Programming
/
ModemLink
/
Examples
/
DeviceStuff.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-03-11
|
600b
|
19 lines
#ifndef DEVICES_STUFF_H
#define DEVICE_STUFF_H
#include <exec/types.h>
#include <exec/io.h>
#include <exec/ports.h>
int OpenTimerDevice(struct MsgPort **TimerMP, struct timerequest **TimerIO);
int OpenSerialDevice(struct MsgPort **SerMP, struct IOExtSer **SerIO, char *SerName, LONG Unit);
int TimedIO(struct IORequest *IOReq, int TimeOut);
void DoAbortIO(struct IORequest *IO);
void SafeCloseDevice(struct MsgPort *MP, struct IORequest *IO);
int CloneIO(struct IORequest *IO, struct MsgPort **NewMP, struct IORequest **NewIO);
void DeleteIO_MP(struct MsgPort *MP, struct IORequest *IO);
#endif